export const rootPath = 'https://cnodejs.org/api/v1'
export const apiConfig = {
  topics: `${rootPath}/topics`, //主题首页
  topicsInfo: `${rootPath}/topic/`, //主题详细
  getToekn: `${rootPath}/accesstoken`, //token验证
  userInfo: `${rootPath}/user/`, //用户信息
  upreply: `${rootPath}/reply/`, //点赞
  publishTopic: `${rootPath}/topics`, //新建
  replytopic: `${rootPath}/topics`, //回复
  updatetopic: `${rootPath}/topics/update`, 
}